<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    	               "http://www.w3.org/TR/html4/loose.dtd">

<html>
	<head>
		<link href="Standard.css" rel="stylesheet" type="text/css">
	  	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	  	<title>Login</title>
	</head>
	<body>
		<%@include file="header.jsp" %>	
		
		
	   
	   <%
	   //This code prevents the login box from appearing after logging in. --Rick March 19th	   
	   if(stateful.getLoggedIn() == true)
	   {
		   /*
		   Display stuff here for the user once he is logged in.
		   This will be the login user's home page... ?
		   */
		   
	   }
	   else
	   {
	  %>
	  <br /> <br />
		   <div id="loginPane">
	 		<form action="Controller?do=loginUser" method="post">
		 		<label class="loginLabel">Username: </label><input type="text" name="username" id="username"/><br class="clearBoth"/>
		 		<label class="loginLabel">Password: </label><input type="password" name="password" id="password"/><br class="clearBoth"/>
		 		<center><input type="submit" value="Login"></center>
	 		</form>

		</div>
		<%
	   }   
	%>
					
		<div id="footer"></div>
	</body>
</html> 
